<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>Acatism: AppController Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.jpg"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Acatism
   </div>
   <div id="projectbrief">Modul de gestionare a lucrarilor de licenta</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">AppController Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for AppController:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_app_controller.png" usemap="#AppController_map" alt=""/>
  <map id="AppController_map" name="AppController_map">
<area href="class_ajax_controller.html" alt="AjaxController" shape="rect" coords="0,112,134,136"/>
<area href="class_errors_controller.html" alt="ErrorsController" shape="rect" coords="144,112,278,136"/>
<area href="class_profesor_controller.html" alt="ProfesorController" shape="rect" coords="288,112,422,136"/>
<area href="class_registration_controller.html" alt="RegistrationController" shape="rect" coords="432,112,566,136"/>
<area href="class_students_controller.html" alt="StudentsController" shape="rect" coords="576,112,710,136"/>
<area href="class_users_controller.html" alt="UsersController" shape="rect" coords="720,112,854,136"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad1730a54bce2e5d15c8326d56b9597a9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_app_controller.html#ad1730a54bce2e5d15c8326d56b9597a9">beforeFilter</a> ()</td></tr>
<tr class="separator:ad1730a54bce2e5d15c8326d56b9597a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac89dd29d2229bbc37879d31f95d06e97"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_app_controller.html#ac89dd29d2229bbc37879d31f95d06e97">beforeRender</a> ()</td></tr>
<tr class="separator:ac89dd29d2229bbc37879d31f95d06e97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd9366e94043f30b5404e84d6b9c7769"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_app_controller.html#afd9366e94043f30b5404e84d6b9c7769">isAuthorized</a> ($user=null)</td></tr>
<tr class="separator:afd9366e94043f30b5404e84d6b9c7769"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e11d9a59c802ac79b32900312da8e5e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_app_controller.html#a0e11d9a59c802ac79b32900312da8e5e">send_email</a> ($send_to, $name, $body)</td></tr>
<tr class="separator:a0e11d9a59c802ac79b32900312da8e5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab91bdb4085805b474a4882f3ba7ff851"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_app_controller.html#ab91bdb4085805b474a4882f3ba7ff851">send_email_to_profesor</a> ($id, $name, $body=array())</td></tr>
<tr class="separator:ab91bdb4085805b474a4882f3ba7ff851"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a364b05ff1987bf14fc63bef164cf019d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_app_controller.html#a364b05ff1987bf14fc63bef164cf019d">send_email_to_student</a> ($id, $name, $body=array())</td></tr>
<tr class="separator:a364b05ff1987bf14fc63bef164cf019d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:af050f1d6cfed92e5511909eba5754516"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_app_controller.html#af050f1d6cfed92e5511909eba5754516">$uses</a></td></tr>
<tr class="separator:af050f1d6cfed92e5511909eba5754516"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2409c247baf67a1d4c6b9a1789cfc088"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_app_controller.html#a2409c247baf67a1d4c6b9a1789cfc088">$components</a></td></tr>
<tr class="separator:a2409c247baf67a1d4c6b9a1789cfc088"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class <a class="el" href="class_app_controller.html">AppController</a> </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ad1730a54bce2e5d15c8326d56b9597a9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">beforeFilter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called before the controller action. You can use this method to configure and customize components or perform logic that needs to happen before each controller action.</p>
<dl class="section return"><dt>Returns</dt><dd>void <a class="el" href="">http://book.cakephp.org/2.0/en/controllers.html#request-life-cycle-callbacks</a></dd></dl>

</div>
</div>
<a class="anchor" id="ac89dd29d2229bbc37879d31f95d06e97"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">beforeRender </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="afd9366e94043f30b5404e84d6b9c7769"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">isAuthorized </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$user</em> = <code>null</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">null</td><td class="paramname">$user</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>bool </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">null</td><td class="paramname">$user</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>bool </dd></dl>

</div>
</div>
<a class="anchor" id="a0e11d9a59c802ac79b32900312da8e5e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">send_email </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$send_to</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$body</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$send_to</td><td></td></tr>
    <tr><td class="paramname">$name</td><td></td></tr>
    <tr><td class="paramname">$body</td><td>Trimite mail </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>

</div>
</div>
<a class="anchor" id="ab91bdb4085805b474a4882f3ba7ff851"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">send_email_to_profesor </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$body</em> = <code>array()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$id</td><td></td></tr>
    <tr><td class="paramname">$name</td><td></td></tr>
    <tr><td class="paramname">$body</td><td>trimite mail catre profesor </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a364b05ff1987bf14fc63bef164cf019d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">send_email_to_student </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$body</em> = <code>array()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$id</td><td></td></tr>
    <tr><td class="paramname">$name</td><td></td></tr>
    <tr><td class="paramname">$body</td><td>trimite mail catre student </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a2409c247baf67a1d4c6b9a1789cfc088"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$components</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= array(</div>
<div class="line">            <span class="stringliteral">&quot;Session&quot;</span>,</div>
<div class="line">            <span class="stringliteral">&quot;Paginator&quot;</span>,</div>
<div class="line">            <span class="stringliteral">&quot;Auth&quot;</span> =&gt; array(</div>
<div class="line">                <span class="stringliteral">&quot;authError&quot;</span>      =&gt; <span class="stringliteral">&quot;You need to login to access that page&quot;</span>,</div>
<div class="line">                <span class="stringliteral">&quot;authorize&quot;</span>      =&gt; array( <span class="stringliteral">&quot;Controller&quot;</span> ),</div>
<div class="line">                <span class="stringliteral">&quot;loginRedirect&quot;</span>  =&gt; array( <span class="stringliteral">&quot;controller&quot;</span> =&gt; <span class="stringliteral">&quot;users&quot;</span>, <span class="stringliteral">&quot;action&quot;</span> =&gt; <span class="stringliteral">&quot;index&quot;</span> ),</div>
<div class="line">                <span class="stringliteral">&quot;logoutRedirect&quot;</span> =&gt; array( <span class="stringliteral">&quot;controller&quot;</span> =&gt; <span class="stringliteral">&quot;users&quot;</span>, <span class="stringliteral">&quot;action&quot;</span> =&gt; <span class="stringliteral">&quot;login&quot;</span> ),</div>
<div class="line">                <span class="stringliteral">&quot;loginAction&quot;</span>    =&gt; array(</div>
<div class="line">                    <span class="stringliteral">&quot;controller&quot;</span> =&gt; <span class="stringliteral">&quot;users&quot;</span>,</div>
<div class="line">                    <span class="stringliteral">&quot;action&quot;</span>     =&gt; <span class="stringliteral">&quot;login&quot;</span></div>
<div class="line">                ),</div>
<div class="line">                <span class="stringliteral">&quot;logoutAction&quot;</span>   =&gt; array(</div>
<div class="line">                    <span class="stringliteral">&quot;controller&quot;</span> =&gt; <span class="stringliteral">&quot;users&quot;</span>,</div>
<div class="line">                    <span class="stringliteral">&quot;action&quot;</span>     =&gt; <span class="stringliteral">&quot;logout&quot;</span></div>
<div class="line">                ),</div>
<div class="line">                <span class="stringliteral">&quot;authenticate&quot;</span>   =&gt; array(</div>
<div class="line">                    <span class="stringliteral">&quot;Form&quot;</span> =&gt; array(</div>
<div class="line">                        <span class="stringliteral">&#39;fields&#39;</span>    =&gt; array( <span class="stringliteral">&quot;username&quot;</span> =&gt; <span class="stringliteral">&quot;username&quot;</span>, <span class="stringliteral">&quot;password&quot;</span> =&gt; <span class="stringliteral">&quot;password&quot;</span> ),</div>
<div class="line">                        <span class="stringliteral">&#39;userModel&#39;</span> =&gt; <span class="stringliteral">&quot;User&quot;</span></div>
<div class="line">                    )</div>
<div class="line">                )</div>
<div class="line">            )</div>
<div class="line">        )</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="af050f1d6cfed92e5511909eba5754516"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$uses</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= array(</div>
<div class="line">            <span class="stringliteral">&quot;User&quot;</span>,</div>
<div class="line">            <span class="stringliteral">&quot;Theme&quot;</span>,</div>
<div class="line">            <span class="stringliteral">&quot;Stage&quot;</span>,</div>
<div class="line">            <span class="stringliteral">&quot;Requirement&quot;</span>,</div>
<div class="line">            <span class="stringliteral">&quot;RequirementValue&quot;</span>,</div>
<div class="line">            <span class="stringliteral">&quot;Registration&quot;</span>,</div>
<div class="line">            <span class="stringliteral">&quot;Extra&quot;</span>,</div>
<div class="line">            <span class="stringliteral">&quot;Email&quot;</span>,</div>
<div class="line">            <span class="stringliteral">&quot;Commit&quot;</span></div>
<div class="line">        )</div>
</div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/Controller/<a class="el" href="_app_controller_8php.html">AppController.php</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jun 11 2014 14:14:34 for Acatism by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.7
</small></address>
</body>
</html>
